package org.jsets.fastboot.exception;

/**
 * 
 * 请求错误异常
 * 
 * @author wangjie (https://github.com/wj596)
 * @date 2022.01.11 22:20
 * 
 */
public class BadRequestException extends RuntimeException{

	private static final long serialVersionUID = 1L;
	
	private Integer bizCode; //业务编码

    public BadRequestException(String msg){
        super(msg);
    }
    
    public BadRequestException(Integer bizCode,String msg){
        super(msg);
        this.bizCode = bizCode;
    }

	public Integer getBizCode() {
		return bizCode;
	}

}